package org.tuoren;

import org.dromara.easyes.starter.register.EsMapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;

/**
 * 启动程序
 *
 * @author Lion Li
 */

@SpringBootApplication
@EsMapperScan("org.tuoren.**.**.esmapper")
public class TuorenApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(TuorenApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
        System.out.println("(♥◠‿◠)ﾉﾞ  tr-official-cn启动成功   ლ(´ڡ`ლ)ﾞ");
    }

}
